package net.xinqushi.design.bridge;

public class TaoBaoProduct implements Product {

    static { // 注册实现
        ProductBridge.addProduct(new TaoBaoProduct());
    }

    @Override
    public void sell() {
        System.out.println("ali方的采购东西业务");
    }

    @Override
    public void pay() {
        System.out.println("ali方的销售东西业务");
    }
}
